#ifndef __DEMO_WINDOW_H__
#define __DEMO_WINDOW_H__

#include "glutMaster.h"
#include "repere.h"
#include <string>

class DemoWindow : public GlutWindow{
public:

   int height, width;
   int initPositionX, initPositionY;
   float R;
   bool	idle;
   repere rep;
   GlutMaster * refglutMaster;
   float posx,posy,posz;
	
   DemoWindow(GlutMaster * glutMaster,
              int setWidth, int setHeight,
              int setInitPositionX, int setInitPositionY,
              std::string title);
   ~DemoWindow();
   void CallBackDisplayFunc(void);
   void CallBackReshapeFunc(int w, int h);   
   void CallBackIdleFunc(void);
   
   void CallBackMouseFunc(int button,int state, int x, int y);

   void StartSpinning(GlutMaster * glutMaster);

   void CallBackKeyboardFunc(unsigned char key, int x, int y);

};

#endif
